package com.sou.classdemo;

public class Student {


   private String  name;
    private String  age;
    public String  Id;



       String getmane() {
        System.out.println(this.name);
        return name;
    }

    public  void  setmane(String c){
        this.name=c;
    }

    public   String getId() {
        return Id;
    }

    public  void  setId(String id){
        this.name=id;
    }
    public   String getAge() {
        return name;
    }

    public  void  setAge(String a){
        this.age=a;
    }

    public static void main(String[] args) {
        //        类 变量名=new 类（）


        Student s1 = new Student();
        s1.setmane("zhangsan");

        Student s2 = new Student();
        s2.setmane("李dd四");

        Student s3 = new Student();
        s1.setmane("王五");


        System.out.println(s1.getmane());
        System.out.println(s2.getmane());

    }

}
